<div style='position:fixed;top:100;width:100%;border:1px solid;background:#ccc;padding-bottom:30px;text-align:center'>
	<h3>地区切换</h3>
	<select id="CityChange_Province"></select>
	<select id="CityChange_City"></select>
	<select id="CityChange_County"></select>
	<button id='CityChange_ChangeBtn'>切换</button>
	<button id='CityChange_CancelBtn'>取消</button>
</div>
<script>

	var OpenCityObj;

	//初始化城市信息
	CityInit(OpenCityObj,CityChange_Province,CityChange_City,CityChange_County);



	//点击切换按钮 
	$('#CityChange_ChangeBtn').click(function(){
		var County = CityChange_County.options[CityChange_County.selectedIndex].value;
		var data = {
			type:'CityChange',
			County:County
		};
		Ajax2(data,function(res){
			if(res == 'ok'){
				//缓存当前选择的省市县
				var admin_name = sessionStorage.admin_name;
				var sess_OpenCityInfoAdmin = sessionStorage.sess_OpenCityInfoAdmin;
				var CountyName = CityChange_County.options[CityChange_County.selectedIndex].innerHTML;
				sessionStorage.clear();	//清除地区所属缓存数据
				sessionStorage.admin_name = admin_name;
				sessionStorage.sess_OpenCityInfoAdmin = sess_OpenCityInfoAdmin;
				sessionStorage.CountyName = CountyName;
				A('地区切换成功!');
				location.reload(1);
			}
		},after_url);
	});


	//点击取消按钮
	$('#CityChange_CancelBtn').click(function(){
		$('#Main_CityChangeViewArea').html('');
	});

</script>